package thss.mro.bolt;

import java.util.Map;

import thss.mro.manager.ProtocolManager;
import backtype.storm.task.OutputCollector;
import backtype.storm.task.TopologyContext;
import backtype.storm.topology.OutputFieldsDeclarer;
import backtype.storm.topology.base.BaseRichBolt;
import backtype.storm.tuple.Fields;
import backtype.storm.tuple.Tuple;
import backtype.storm.tuple.Values;

/**
 *  数据存储Bolt
 */
public class DataStore extends BaseRichBolt {

	OutputCollector _collector;
	
	@Override
	public void execute(Tuple tuple) {
		
	}

	@Override
	public void prepare(Map stormConf, TopologyContext context,
			OutputCollector collector) {
		_collector = collector;
	}

	@Override
	public void declareOutputFields(OutputFieldsDeclarer declarer) {
//		declarer.declare(new Fields("headId","data"));
	}

}
